package com.mycc.game.damin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("npc")
public class Npc {

    private long npcid;
    private String name;
    @TableField(value = "scenario_id")
    private long scenarioId;
    @TableField(value = "information_id")
    private long informationId;

    private String relationship;
    @TableLogic(value = "0", delval = "1")// 逻辑删除
    private Integer deleted;
}
